package com.testpro.DesignPattern.SingletonPattern;

public class Father {

    private static final Father FATHER = new Father();

    private Father() {
        System.out.println("父亲被创建了");
    }
    public synchronized static Father getInstance() {
        return FATHER;
    }


}
